package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserLevelInfoDao;
import com.frogs.ucenter.entity.UserLevelInfo;
import com.frogs.ucenter.service.UserLevelInfoService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userLevelInfoService")
public class UserLevelInfoServiceImpl extends BaseServiceImpl<UserLevelInfo> implements UserLevelInfoService {
    @Autowired
    private UserLevelInfoDao userLevelInfoDao;

    public UserLevelInfoServiceImpl() {
        super();
    }

    public UserLevelInfoDao getUserLevelInfoDao() {
        return userLevelInfoDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserLevelInfo> getBaseDao() {
        return userLevelInfoDao;
    }

    public void setUserLevelInfoDao(UserLevelInfoDao userLevelInfoDao) {
        this.userLevelInfoDao = userLevelInfoDao;
    }
}